#ifndef EN_DATE_H
#define EN_DATE_H

#include <QString>
#include <stdarg.h>
#include <stdio.h>
#include <QDebug>

#define EQUAL "="
#define RN_END "\r\n"
#define STRING "\""
#define QU "?"
#define COMMA ","

//#define AT_DEVICEINFO "AT+TEST=29,1"
//#define AT_GETDEVID "AT+TRACERGET=1"
//#define AT_SETDEVID "AT+TRACERSET"

#define AT_DEVICEINFO			"AT+TEST"
#define AT_GETDEVID				"AT+TRACERGET"
#define AT_SETDEVID				"AT+TRACERSET"
#define AT_SIM_STR				"AT+CCID"

class en_data
{
public:
	en_data();
	bool add_param(QString & commond, bool is_string, const QString &str, const int num);
	bool add_commond_end(QString & commond);
	QString packet_commond(const char *commond, const char *format, int i, ...);
};

#endif // EN_DATE_H
